package hypermediaresearch.controller.hypermedia.admin;

import hypermediaresearch.service.PartnerService;
/*
 * VinhJune 2012
 */
import org.slim3.controller.Controller;
import org.slim3.controller.Navigation;
import org.slim3.util.RequestMap;

public class AddPartnerController extends Controller {

    private PartnerService service = new PartnerService();
    @Override
    public Navigation run() throws Exception {
        service.addPartner(new RequestMap(request));
        return redirect("/hypermedia/admin/partneradder");
    }
}
